package com.gxitsky.behavioral.observer.things;

/**
 * @author gxing
 * @desc TODO
 * @date 2022/7/7
 */
public class You implements AnyThing{

    private AnyThing thing;

    public You(AnyThing thing) {
        this.thing = thing;
    }

    @Override
    public void exe() {
        System.out.println("你");
        thing.exe();
    }
}
